Skip to content

[3.15] gh-159428: Don't read mimetypes.knownfiles by default on Windows (GH-159445) - #159489

Merged
zooba merged 1 commit into
python:3.15from
miss-islington:backport-04a29bf-3.15
Oct 16, 2026
Merged

zooba merged 1 commit into
python:3.15from
miss-islington:backport-04a29bf-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Make knownfiles empty on Windows so that only the registry is used by default. Files passed to init() or assigned to knownfiles explicitly are still read.
(cherry picked from commit 04a29bf)

Co-authored-by: Cary Hawkins hawkinscary23@gmail.com

pythonGH-159445)

Make knownfiles empty on Windows so that only the registry is used by default. Files passed to init() or assigned to knownfiles explicitly are still read.
(cherry picked from commit 04a29bf)

Co-authored-by: Cary Hawkins <hawkinscary23@gmail.com>
@miss-islington
miss-islington requested a review from a team as a code owner October 15, 2026 21:03
@zooba
zooba enabled auto-merge (squash) October 16, 2026 10:57
@zooba
zooba merged commit 5550519 into python:3.15 Oct 16, 2026
146 of 150 checks passed
@miss-islington
miss-islington deleted the backport-04a29bf-3.15 branch October 16, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants